import { LAYOUT,newLAOUT } from "../attr-widget"

export interface DIVIDER extends LAYOUT {
  label: string
}

export function newDIVIDER(attr?:DIVIDER):DIVIDER{
  return Object.assign(
    newLAOUT(),
    {
      label: ''
    },
    attr
  ) as DIVIDER
}

export const STATUS_OPTIONS = [
  {value:'0',label:'隐藏'},
  {value:'1',label:'占位'},
  {value:'2',label:'可见'}
]